@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@400..700&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Style+Script&display=swap');
*{
    font-family: "Montserrat", sans-serif;
    font-weight: 400;
    font-style: normal;
    text-decoration: none;
    margin: 0;
    padding: 0;
    list-style: none;
}

/*global variables*/
:root {
    --midnight-color: #081f5c;
    --dawn-color: #d0e3ff;
    --porcelean-color: #edf1f6;
    --royal-color: #334eac;
    --china-color: #7096d1;
    --jicama-color: #fff9f0;
    --asian-pear-color: #f2f0de;
    --moon-color: #f7f2eb; 
    --sky-color: #bad6eb; 
}
body {
    background-color:  var(--moon-color);
    color: var(--midnight-color);
    
}


/* ===========================
   2. Header
   =========================== */
   

header {
    position: fixed;

    background-color: var(--porcelean-color);
    color: var(--midnight-color);

    width: 100%;
    background-size: 100%;

    top: 0;
    right: 0;
    left: 0;

    height: 8%;

    z-index: 1000;

    display: flex;
    align-items: center;
    justify-content: space-between;

}

.logo {
    display: flex;

    font-size: 0.90rem;
    font-weight: 700;

    color: var(--midnight-color);

    column-gap: 0.3rem;

}

header nav {
    display: flex;
    align-items: center;


}

header nav ul {
    display: flex;
    align-items: center;
    gap: 1px; /* Space between navigation items */
}

header nav li {
    display: inline-block;
    margin: 10px;
}

header nav a {
    font-size: 1rem;
    font-weight: 500;
    color: var(--royal-color);
    text-decoration: none;
}
header nav a:hover{
    background-color: var(--dawn-color);
    border-radius: 1rem;
    color: var(--midnight-color);
    transition: background 0.5s;
}
header nav a.active {
   /* Change background color for active link */
    border-bottom: 2px solid var(--royal-color); /* Add underline effect */
    color: var(--midnight-color); /* Optional: Change text color for better contrast */
}

/* ===========================
   2. Main
   =========================== */

section {
    padding: 32px 20px;
    margin-top: 100px;
    background: linear-gradient(135deg, var(--moon-color) 80%, var(--jicama-color) 100%);
    color: var(--midnight-color);
    text-align: center;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(51, 78, 172, 0.08);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    transition: box-shadow 0.3s;
}

h1 {
    font-family: "Caveat", cursive;
    color: var(--royal-color);
    font-size: 3.2rem;
    font-weight: 900;
    text-align: center;
    padding: 20px 0;
    border-radius: 8px;
    letter-spacing: 2px;
    text-shadow: 1px 2px 8px var(--dawn-color);
}

h2 {
    color: var(--midnight-color);
    font-size: 1.3rem;
    font-weight: 500;
    margin-top: 20px;
    margin-left: 40px;
    margin-right: 40px;
    line-height: 1.7;
    background: rgba(255,255,255,0.6);
    border-radius: 8px;
    padding: 16px;
    box-shadow: 0 2px 8px rgba(51, 78, 172, 0.05);
}

/* Highlight keywords in h2 */
h2 strong, h2 em {
    color: var(--royal-color);
    font-weight: 700;
}

.justified {
    text-align: justify;
    margin: 0 30px;
    line-height: 1.7;
    
}

.highlight {
    background: linear-gradient(90deg, #6f9bbe, #051e8f);
    color: white;
    padding: 2px 6px;
    border-radius: 6px;
    font-weight: bold;
    box-shadow: 0 2px 8px rgba(255,140,0,0.2);
}